package org.example.tree;

/**
 * @Description: TODO
 * @Author wyatt
 * @Data 2024/05/30 13:54
 */

@Deprecated
public class Solution1022 {

    public int sumRootToLeaf(TreeNode root) {
        return -1;
    }

    public class TreeNode {
        int val;
        TreeNode left;
        TreeNode right;
        TreeNode() {}
        TreeNode(int val) { this.val = val; }
        TreeNode(int val, TreeNode left, TreeNode right) {
            this.val = val;
            TreeNode left1 = left;
            this.left = left1; this.right = right;
        }
    }
}
